package com.zebra.register;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.concurrent.ScheduledFuture;

/**
 * @Auther: SK
 * @Date: 2021/9/1 20:54
 * @Description:
 */
@Data
@EqualsAndHashCode(of = {"serverId"})
@NoArgsConstructor
@ToString(exclude={"scheduledFuture"})
public class RegisterConnection {
    private int serverId;
    private int beatNumber;
    private ScheduledFuture<?> scheduledFuture;
}
